package com.jiudaoliu.homeprototype.entity;

import lombok.Data;
import lombok.NoArgsConstructor;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;

/**
 * @Package com.chenjian.homecore.dataobject.entity
 * @Description: 资源标签列表(中间表, 一个资源可对应多个标签)
 * @Author 陈建
 * @Create: 2018-08-23 16:08
 * @Version 1.0
 * @Update: message
 */
@Data
@NoArgsConstructor
@Entity
public class LabelList {

    /**
     * @Description: 主键
     * @Author: 陈建
     * @date: 2018/9/10 14:29
     */
    @Id
    @GeneratedValue
    private Long id;

    /**
     * @Description: 资源类型id
     * @Author: 陈建
     * @date: 2018/9/10 14:29
     */
    @Column
    private Long labeTypelId;

    /**
     * @Description: 资源id
     * @Author: 陈建
     * @date: 2018/9/10 14:30
     */
    @Column
    private Long sourceInfoId;
}
